package com.teacher.pojo.dto.moraleducationbasic;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author zfm
 * @date 2021/8/5 13:42
 */
@Data
public class MoralEducationBasicUpdateDto {
    @NotNull(message = "id不能为空")
    private Long id;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "是否坚持四项基本原则")
    @NotNull(message = "是否坚持四项基本原则不能为空")
    private Boolean fourPrinciple;

    @ApiModelProperty(value = "是否践行社会主义核心价值观")
    @NotNull(message = "是否践行社会主义核心价值观不能为空")
    private Boolean doCoreValue;

    @ApiModelProperty(value = "是否遵守社会功德")
    @NotNull(message = "是否遵守社会功德不能为空")
    private Boolean doMoral;
}
